using System;

namespace FaceRecognitionDemo.Models
{
    /// <summary>
    /// 人脸比对记录实体类
    /// </summary>
    public class FaceComparison
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        public int Id { get; set; }
        
        /// <summary>
        /// 源图片路径
        /// </summary>
        public string SourceImagePath { get; set; }
        
        /// <summary>
        /// 源图片哈希值
        /// </summary>
        public string SourceImageHash { get; set; }
        
        /// <summary>
        /// 比对时间
        /// </summary>
        public DateTime ComparisonTime { get; set; }
        
        /// <summary>
        /// 被比对人脸ID
        /// </summary>
        public int ComparedFaceId { get; set; }
        
        /// <summary>
        /// 关联的人员ID
        /// </summary>
        public int PersonId { get; set; }
        
        /// <summary>
        /// 被比对人脸图片路径
        /// </summary>
        public string ComparedFaceImagePath { get; set; }
        
        /// <summary>
        /// 相似度分数
        /// </summary>
        public float SimilarityScore { get; set; }
    }
}